package com.poseidon.cglibdemo;

import com.pandora.common.exception.EduException;
import com.poseidon.cglibdemo.aop.BusiBeanCglibAOPBaseClass;

public class ClientTest {

	public static void main(String[] args) throws EduException {
		BusiBeanCglibAOPBaseClass aop = BusiBeanCglibAOPBaseClass.getInstance();
		Sell sell = (Sell) aop.bind(Sell.class);
		sell.sellBook("西游记");
		System.out.println("----------------------");
		sell.getBook(1);
	}
}
